package com.hhw.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class Tologin
 */
@WebServlet("/tologin")
public class Tologin extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    public Tologin() {
        super();
    }

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
    
	public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		//response.sendRedirect("/WEB-INF/jsp/login.jsp"); 
	   request.getRequestDispatcher("/WEB-INF/jsp/login.jsp").forward(request, response);
	}


}
